package cn.lixin.order.service;

import cn.lixin.basic.service.IBaseService;
import cn.lixin.basic.utils.PageList;
import cn.lixin.order.domain.AdoptOrder;
import cn.lixin.order.query.AdoptOrderQuery;
import cn.lixin.user.domain.Logininfo;

import java.util.Map;

public interface IAdoptOrderService extends IBaseService<AdoptOrder> {

    String submit(Map<String, Object> params, Logininfo currentLoginInfo);

    PageList<AdoptOrder> admin(AdoptOrderQuery query, Logininfo currentLoginInfo);

    PageList<AdoptOrder> user(AdoptOrderQuery query, Logininfo currentLoginInfo);


    /**
     * 定时器执行任务-超时删除订单
     * @param orderId
     */
    void deleteByQuartz(Long orderId);
}
